package com.netkit.event;

import com.netkit.message.Message;

public interface NetkitChannelEventListener extends java.util.EventListener{
	
	public void onOpen(ChannelEvent e);
	
	public void onConnected(ChannelEvent e);
	
	public void onDisconnected(ChannelEvent e);
	
	public void onExceptionCaught(ChannelEvent e,Throwable throwable);
	
	public void onClosed(ChannelEvent e);
	
	public void onMessageReceived(ChannelEvent e,Message message);
	
}
